package com.example.administrator.rxjavadiydemo.view_activity;


import android.os.Bundle;

import com.example.administrator.rxjavadiydemo.R;
import com.example.administrator.rxjavadiydemo.presenter.Presenter_Main;
import com.example.library.base.BaseActivity;



public class MainActivity extends BaseActivity {

    private Presenter_Main mPresenter;


    @Override
    public void initViews(Bundle bundle) {

        setContentView(R.layout.activity_main);
        mPresenter = new Presenter_Main(this);




    }

    @Override
    public void initDatas() {
        mPresenter.getData();


    }

    @Override
    public void clickEvents() {

    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
        mPresenter.onDestroy();

    }
}
